﻿using System;
using System.Collections.Generic;

namespace WolframAlphaSharp
{
    /// <summary>
    /// Wraps a result returned from the Wolfram|Alpha API.
    /// </summary>
    public class QueryResult
    {
        public QueryResult()
        {
            Pods = new List<Pod>();
        }

        public bool Success { get; set; }

        public bool Error { get; set; }

        public int NumPods { get; set; }

        public List<OutputFormat> DataTypes { get; set; }

        public double Timing { get; set; }

        public double ParseTiming { get; set; }

        public bool ParseTimedOut { get; set; }

        public Uri Recalculate { get; set; }

        public string Id { get; set; }

        public Uri Host { get; set; }

        public int Server { get; set; }

        public Version Version { get; set; }

        public Uri Related { get; set; }

        public IList<Pod> Pods { get; set; }
    }
}